package com.example.school.mapper;

import com.example.school.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CourseMapper {
    List<Course> findCoursesByTeacherName(@Param("name") String name);

    List<Course> findCoursesByCollege(@Param("college") String college);

    public Course getCoursesById(int courseId);


}
